/*
 * =====================================================================================
 *
 *       Filename:  moonlander.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  22.01.2010 12:19:20
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Michal Antonczak (uzyszkodnik), uzyszkodnik.priv@gmail.com
 *        Company:  
 *
 * =====================================================================================
 */

#pragma once
#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>
#include "gamestructs.h"

using namespace std;
class Game_Map;
class Lander;
class Moonlander{
	private:
		SDL_Surface* msg;
		SDL_Surface* screen;
		Lander* player;
		Game_Map* g_map;
		TTF_Font *font;
		SDL_Color textColor;
		char* map_path;
		void camera();
		void landed();
		void crashed();


	public:
		void sdlinit();
		void gameinit(char* mapz, SDL_Surface* scr);
		void reinit();
		void mainloop();
		~Moonlander();
};
